<div class="monitor-tab-div">
    <!-- 基本信息 -->
    <div class="m-panel">
    	<div class="m-panel-title">
    		<span>基本信息</span>
    	</div>
    	<div class="m-panel-body base-info-div">
    		<form class="bs-example form-horizontal xs-form">
                <div id="base_info_monitor_div">
                    <div class="form-group">
                        <label class="col-lg-2 control-label">监控器名称：</label>
                        <label class="col-lg-4 control-label tl" data-id="monitorName"></label>
                        <label class="col-lg-2 control-label">监控器类型：</label>
                        <label class="col-lg-4 control-label tl" data-id="monitorTypeName"></label>
                    </div>
                </div>
                <div id="asset_info_monitor_div">
                    <div class="form-group"></div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">被监控资产名称：</label>
                        <label class="col-lg-4 control-label tl" data-id="assetName"></label>
                        <label class="col-lg-2 control-label">资产类型：</label>
                        <label class="col-lg-4 control-label tl" data-id="assetTypeName"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">IP：</label>
                        <label class="col-lg-4 control-label tl" data-id="mainIpv4"></label>
                        <label class="col-lg-2 control-label">管控域：</label>
                        <label class="col-lg-4 control-label tl" data-id="securityDomainName"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">操作系统：</label>
                        <label class="col-lg-4 control-label tl" data-id="osTypeName"></label>
                        <label class="col-lg-2 control-label" style="display: none;">物理位置：</label>
                        <label class="col-lg-4 control-label tl" data-id="locationCbName" style="display: none;"></label>
                    </div>

                    <div class="form-group" id="console_url">
                        <label class="col-lg-2 control-label">控制台：</label>
                        <label class="col-lg-4 control-label tl" data-id="consoleUrl"></label>
                        <label class="col-lg-2 control-label"></label>
                        <label class="col-lg-4 control-label tl"></label>
                    </div>
                </div>
    <!--             <div id="test_info_monitor_div">
                    <div class="form-group">
                        <label class="col-lg-2 control-label">探测信息详情：</label>
                        <label class="col-lg-4 control-label tl" data-id="result"></label>
                        <label class="col-lg-2 control-label"></label>
                        <label class="col-lg-4 control-label tl" data-id=""></label>
                    </div>
                </div> -->
            </form>
    	</div>
    </div>

    <!-- JVM/安全 -->
    <div class="m-panel">
        <div class="m-panel-title">
            <span>JVM/安全</span>
        </div>
        <div class="m-panel-body base-info-div" id="jvm_sec_info_div">
            <div class="m-panel-body-card">
                <ul>
                    <li class="active" data-action="JVM_info">JVM信息</li>
                    <li data-action="sec_info">安全信息</li>
                </ul>
            </div>
            <!-- JVM信息 -->
            <div id="JVM_info_div">
                <form class="bs-example form-horizontal xs-form">
                    <div class="form-group">
                        <label class="col-lg-2 control-label">JVM宿主操作系统名称：</label>
                        <label class="col-lg-4 control-label tl" data-id="osName"></label>
                        <label class="col-lg-2 control-label">JVM堆最大值：</label>
                        <label class="col-lg-4 control-label tl" data-id="heapSizeMax"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">JVM宿主操作系统版本：</label>
                        <label class="col-lg-4 control-label tl" data-id="osVersion"></label>
                        <label class="col-lg-2 control-label">JVM堆当前值：</label>
                        <label class="col-lg-4 control-label tl" data-id="heapSizeCurrent"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">JVM版本：</label>
                        <label class="col-lg-4 control-label tl" data-id="javaVersion"></label>
                        <label class="col-lg-2 control-label">JVM堆空闲值：</label>
                        <label class="col-lg-4 control-label tl" data-id="heapFreeCurrent"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">JVM提供商：</label>
                        <label class="col-lg-4 control-label tl" data-id="javaVmvendor"></label>
                        <label class="col-lg-2 control-label">JVM堆空闲百分比（%）：</label>
                        <label class="col-lg-4 control-label tl" data-id="heapFreePercent"></label>
                    </div>
                </form>
            </div>
             <!-- 安全信息 -->
            <div id="sec_info_div" style="display: none;">
                <form class="bs-example form-horizontal xs-form">
                    <div class="form-group">
                        <label class="col-lg-2 control-label">名称：</label>
                        <label class="col-lg-4 control-label tl" data-id="name"></label>
                        <label class="col-lg-2 control-label">描述：</label>
                        <label class="col-lg-4 control-label tl" data-id="desc"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">取消锁定的用户总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="unlockedUsersTotalCount"></label>
                        <label class="col-lg-2 control-label">在被锁定时尝试登陆的总次数：</label>
                        <label class="col-lg-4 control-label tl" data-id="loginAttemptsWhileLockedTotalCount"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">无效登陆总次数：</label>
                        <label class="col-lg-4 control-label tl" data-id="invalidLoginAttemptsTotalCount"></label>
                        <label class="col-lg-2 control-label">无效登陆最多次数：</label>
                        <label class="col-lg-4 control-label tl" data-id="invalidLoginUsersHighCount"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">用户锁定总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="userLockoutTotalCount"></label>
                        <label class="col-lg-2 control-label">被锁定的用户：</label>
                        <label class="col-lg-4 control-label tl" data-id="lockedUsersCurrentCount"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">获取时间：</label>
                        <label class="col-lg-4 control-label tl" data-id="enterDate"></label>
                        <label class="col-lg-2 control-label"></label>
                        <label class="col-lg-4 control-label tl" data-id=""></label>
                    </div>
                </form>
            </div>
        </div>
    </div>

    <!-- 线程池 -->
    <div class="m-panel">
        <div class="m-panel-title">
            <span>线程池信息</span>
        </div>
        <div class="m-panel-body base-info-div" id="thread_pool_info_div">
            <div class="m-panel-body-card">
                <ul>
                    <li class="active" data-action="thread_pool_info">线程池信息</li>
                </ul>
            </div>
            <div id="thread_pool_info">
                <form class="bs-example form-horizontal xs-form">
                    <div class="form-group">
                        <label class="col-lg-2 control-label">空闲线程数量：</label>
                        <label class="col-lg-4 control-label tl" data-id="executeThreadId"></label>
                        <label class="col-lg-2 control-label">队列长度：</label>
                        <label class="col-lg-4 control-label tl" data-id="queueLength"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">执行线程数量：</label>
                        <label class="col-lg-4 control-label tl" data-id="executeThreadTo"></label>
                        <label class="col-lg-2 control-label">备用线程数量：</label>
                        <label class="col-lg-4 control-label tl" data-id="standbyThreadCnt"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">独占线程数量：</label>
                        <label class="col-lg-4 control-label tl" data-id="hoggingThreadCnt"></label>
                        <label class="col-lg-2 control-label">吞吐量：</label>
                        <label class="col-lg-4 control-label tl" data-id="throughput"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">已完成的最小线程约束：</label>
                        <label class="col-lg-4 control-label tl" data-id="minThreadsConCple"></label>
                        <label class="col-lg-2 control-label">请求管理器是否挂起：</label>
                        <label class="col-lg-4 control-label tl" data-id="suspended"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">挂起的最小线程约束：</label>
                        <label class="col-lg-4 control-label tl" data-id="minThreadsConPdin"></label>
                        <label class="col-lg-2 control-label">完成的请求数量：</label>
                        <label class="col-lg-4 control-label tl" data-id="completedRqstCnt"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">挂起用户请求数量：</label>
                        <label class="col-lg-4 control-label tl" data-id="pendingUserRqstCnt"></label>
                        <label class="col-lg-2 control-label"></label>
                        <label class="col-lg-4 control-label tl"></label>
                    </div>
                </form>
            </div>
        </div>
    </div>

    <!-- JMS信息 -->
    <div class="m-panel">
        <div class="m-panel-title">
            <span>JMS信息</span>
        </div>
        <div class="m-panel-body base-info-div" id="JMS_info_div">
            <div class="m-panel-body-card">
                <ul>
                    <li class="active" data-action="JMS_info">JMS信息</li>
                    <li data-action="Server_info">Server信息</li>
                </ul>
            </div>
            <div id="JMS_info">
                <form class="bs-example form-horizontal xs-form">
                    <div class="form-group">
                        <label class="col-lg-2 control-label">当前连接数：</label>
                        <label class="col-lg-4 control-label tl" data-id="connCurrentcnt"></label>
                        <label class="col-lg-2 control-label">当前JMS服务器数量：</label>
                        <label class="col-lg-4 control-label tl" data-id="jmsSerCurrentcnt"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">最大连接数：</label>
                        <label class="col-lg-4 control-label tl" data-id="connHighcnt"></label>
                        <label class="col-lg-2 control-label">最大JMS服务器数量：</label>
                        <label class="col-lg-4 control-label tl" data-id="jmsSerHighcnt"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">连接总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="connTotalcnt"></label>
                        <label class="col-lg-2 control-label">JMS服务器总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="jmsSerTotalcnt"></label>
                    </div>
                </form>
            </div>
            <div class="table-div" id="server_info_table" style="height:300px;display: none;"></div>
        </div>
    </div>

    <!-- SAFAgent信息 -->
    <div class="m-panel">
        <div class="m-panel-title">
            <span>SAFAgent信息</span>
        </div>
        <div class="m-panel-body base-info-div" id="JMS_info_div">
            <div class="m-panel-body-card">
                <ul>
                    <li class="active" data-action="safgent_info_list">SAFAgent信息</li>
                </ul>
            </div>
            <div class="table-div" id="safgent_info_table" style="height:300px;"></div>
        </div>
    </div>

    <!-- JTA信息 -->
    <div class="m-panel">
        <div class="m-panel-title">
            <span>JTA信息</span>
        </div>
        <div class="m-panel-body base-info-div" id="JTA_info_div">
            <div class="m-panel-body-card">
                <ul>
                    <li class="active" data-action="jta_base_info">基本信息</li>
                    <li data-action="tran_name_info_list">JTA命名事物信息</li>
                    <li data-action="xa_resource_info_list">XA资源信息</li>
                    <li data-action="no_xa_source_info_list">非XA资源信息</li>
                    <li data-action="recover_server_info_list">恢复服务信息</li>
                </ul>
            </div>
            <div id="jta_base_info">
                <form class="bs-example form-horizontal xs-form">
                    <div class="form-group">
                        <label class="col-lg-2 control-label">事务总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="tranTotalCnt"></label>
                        <label class="col-lg-2 control-label">因应用程序回退事务总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="tranRlbkAppTotcnt"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">已提交事务总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="tranCommitTotcnt"></label>
                        <label class="col-lg-2 control-label">因系统回退事务总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="tranRlbkSysTotcnt"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">已回退事务总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="tranRlbkTotCnt"></label>
                        <label class="col-lg-2 control-label">试探完成总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="tranHeuristTotcnt"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">因超时回退事务总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="tranRlbkTimeoutTotcnt"></label>
                        <label class="col-lg-2 control-label">已放弃事务总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="tranAbandTotcnt"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">因资源回退事务总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="tranRlbkResourceTotcnt"></label>
                        <label class="col-lg-2 control-label">活动事务总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="activeTranTotcnt"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">已提交的无资源事务处理总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="tranNoResourcesCommittedTotalCnt"></label>
                        <label class="col-lg-2 control-label">一阶段提交的只读事务处理总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="tranReadOnlyOnePhaseCommittedTotalCnt"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">二阶段提交的事务处理总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="tranTwoPhaseCommittedTotalCnt"></label>
                        <label class="col-lg-2 control-label">一阶段提交的单资源事务处理总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="tranOneResourceOnePhaseCommittedTotalCnt"></label>
                    </div>
                    <div class="form-group">
                        <label class="col-lg-2 control-label">已提交LLR事务处理总数：</label>
                        <label class="col-lg-4 control-label tl" data-id="tranLLRCommittedTotalCnt"></label>
                        <label class="col-lg-2 control-label"></label>
                        <label class="col-lg-4 control-label tl" data-id=""></label>
                    </div>
                </form>
            </div>
            <div class="table-div" id="jta_info_table" style="height:300px;display: none;"></div>
        </div>
    </div>
    <div class="box">
        <div class="box-item" style="width:100%">
            <form class="bs-example form-horizontal xs-form">
                <div class="form-group mb10" >
                      <label class="col-lg-1 control-label">应用名称：</label>
                      <div class="col-lg-3" id="application_sel_div">
                        <select class="form-control input-sm" data-type="select" id="application_sel"></select>
                      </div>

                      <label class="col-lg-1 control-label">组件名称：</label>
                      <div class="col-lg-3" id="component_sel_div">
                        <select class="form-control input-sm" data-type="select" id="component_sel"></select>
                      </div>
                      <label class="col-lg-2 control-label tl">可同时控制</label>
                </div>
            </form>
        </div>
    </div>
    
    <!-- 应用信息 -->
    <div class="m-panel">
        <div class="m-panel-title">
            <span>应用信息</span>
        </div>
        <div class="m-panel-body base-info-div" id="app_info_div">
            
            <div id="app_info">
                <form class="bs-example form-horizontal xs-form">
                    <div id="application_div">
                      <div class="form-group">
                        <label class="col-lg-2 control-label">应用名称：</label>
                        <label class="col-lg-4 control-label tl" data-id="applicationName"></label>
                        <label class="col-lg-2 control-label">应用版本：</label>
                        <label class="col-lg-4 control-label tl" data-id="applicationVersion"></label>
                      </div>
                    </div>

                    <div id="component_div" style="display: none;">
                      <div class="form-group">
                        <label class="col-lg-2 control-label">web应用组件名称：</label>
                        <label class="col-lg-4 control-label tl" data-id="webApplicationName"></label>
                        <label class="col-lg-2 control-label">上下文根：</label>
                        <label class="col-lg-4 control-label tl" data-id="contextRoot"></label>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 control-label">模块URI：</label>
                        <label class="col-lg-4 control-label tl" data-id="moduleUri"></label>
                        <label class="col-lg-2 control-label">当前开发连接数：</label>
                        <label class="col-lg-4 control-label tl" data-id="openSessionsCurtcnt"></label>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 control-label">最大开发连接数：</label>
                        <label class="col-lg-4 control-label tl" data-id="openSessionsHighcnt"></label>
                        <label class="col-lg-2 control-label">历史开发连接数：</label>
                        <label class="col-lg-4 control-label tl" data-id="sessionsOpenedTotcnt"></label>
                      </div>

                      <div class="form-group">
                        <label class="col-lg-2 control-label" style="padding-bottom: 10px;">连接超时时限：</label>
                        <label class="col-lg-4 control-label tl" style="padding-bottom: 10px;" data-id="sessionTimeoutSecs"></label>
                      </div>
                    </div>
                </form>
            </div>
            <div class="m-panel-body-card">
                <ul>
                    <li class="active" data-action="component_info_list">组件信息</li>
                </ul>
            </div>
            <div class="table-div" id="component_info_table" style="height:300px;display: none;"></div>
        </div>
    </div>

    <!-- 服务器状态信息 -->
    <div class="m-panel">
        <div class="m-panel-title">
            <span>服务器状态信息</span>
        </div>
        <div class="m-panel-body base-info-div" id="server_status_div">
            <div class="m-panel-body-card">
                <ul>
                    <li class="active" data-action="server_status_list">服务器状态信息</li>
                </ul>
            </div>
            <div class="table-div" id="server_status_table" style="height:300px;"></div>
        </div>
    </div>

    <!-- 默认存储 -->
    <div class="m-panel">
        <div class="m-panel-title">
            <span>默认存储</span>
        </div>
        <div class="m-panel-body base-info-div" id="default_storage_div">
            <div class="m-panel-body-card">
                <ul>
                    <li class="active" data-action="connect_list">连接信息</li>
                    <li data-action="count_list">统计信息</li>
                </ul>
            </div>
            <div class="table-div" id="default_storage_table" style="height:300px;"></div>
        </div>
    </div>

    <!-- 集群/工作量信息-->
    <div class="m-panel">
        <div class="m-panel-title">
            <span>集群/工作量信息</span>
        </div>
        <div class="m-panel-body base-info-div" id="connective_work_div">
            <div class="m-panel-body-card">
                <ul>
                    <li class="active" data-action="connective_list">集群信息</li>
                    <li data-action="work_list">工作量信息</li>
                </ul>
            </div>
            <div class="table-div" id="connective_work_table" style="height:300px;"></div>
        </div>
    </div>

    <!-- JDBC/通道信息-->
    <div class="m-panel">
        <div class="m-panel-title">
            <span>JDBC/通道信息</span>
        </div>
        <div class="m-panel-body base-info-div" id="jdbc_pipe_div">
            <div class="m-panel-body-card">
                <ul>
                    <li class="active" data-action="jdbc_list">JDBC信息</li>
                    <li data-action="pipe_list">通道信息</li>
                </ul>
            </div>
            <div class="table-div" id="jdbc_pipe_table" style="height:300px;"></div>
        </div>
    </div>
</div>

<div class="monitor-tab-div" data-type="event"></div>

<style type="text/css">
    #app_info{
        border: 1px solid #e2e2e2;
        border-radius: 2px;
    }
    #app_info .form-group{
        background-color: #f2f2f2!important;
    }
    #app_info .form-group label{
        background-color: #f2f2f2!important;
    }
</style>

<script type="text/javascript">
$(document).ready(function (){
require(['/js/plugin/monitor/catagory/weblogic.js'] ,function (weblogic){

var urlParamObj = index_query_param_get()

var application_data

var component_data

view_init()

event_init()

index_form_init($("#application_sel_div"));
index_form_init($("#component_sel_div"));

function view_init()
{
    urlParamObj.time = $("#query_time_label").text()
    urlParamObj.edId = urlParamObj.assetId
    weblogic.base_info(urlParamObj)
    jvm_sec_info_render(urlParamObj)
    weblogic.thread_pool_render($("#thread_pool_info"), urlParamObj)
    jms_info_render(urlParamObj)
    weblogic.safgent_info_list($("#safgent_info_table"), urlParamObj)
    jta_info_render(urlParamObj)
    app_info_render(urlParamObj)
    weblogic.server_status_list($("#server_status_table"), urlParamObj)
    default_storage_list(urlParamObj)
    connective_work_list(urlParamObj)
    jdbc_pipe_list(urlParamObj)

}

function event_init(){
    $("#application_sel").change(function (){
        var curr_index2 = $(this).prop('selectedIndex');

        $("#application_div").umDataBind("render", application_data[curr_index2]);
        var version = application_data[curr_index2].applicationVersion;
        if(version == null || version == "null"){
            $("[data-id=applicationVersion]").text('----');
        }
        weblogic.component_get({
            paramObj:urlParamObj, 
            applicationName:$(this).val(), 
            serverName:application_data[0].serverName,
            cbf:function(data){
                component_data = data
            }
        }) 
    });

    $("#component_sel").change(function (){
        var curr_index = $(this).prop('selectedIndex');
        var subType = component_data[curr_index].subType;
        if(subType == "0"){
            component_div.show();
            $("#component_div").umDataBind("render", component_data[curr_index]);
        }else{
            component_div.hide();
        }
        weblogic.component_info_list($("#component_info_table") ,{
            paramObj:urlParamObj, 
            subAppName:$(this).val(), 
            subType:subType
        })
    });
}

window.index_monitor_init = function ()
{
    view_init()
}

function jvm_sec_info_render(obj) {
    var el_ul = $("#jvm_sec_info_div").find("ul")
    el_ul.find("li").unbind("click")

    el_ul.find("li").click(function (){
        $(this).siblings().removeClass("active")
        $(this).addClass("active")
        if ($(this).attr("data-action") == "JVM_info") {
            $("#jvm_sec_info_div").find("#JVM_info_div").show()
            $("#jvm_sec_info_div").find("#sec_info_div").hide()
            weblogic.JVM_info_render($("#JVM_info_div") ,obj)
        }
        else{
            $("#jvm_sec_info_div").find("#JVM_info_div").hide()
            $("#jvm_sec_info_div").find("#sec_info_div").show()
            weblogic.sec_info_render($("#sec_info_div") ,obj)
        }
    })

    weblogic.JVM_info_render($("#JVM_info_div") ,obj)
}

function jms_info_render(obj) {
    var el_ul = $("#JMS_info_div").find("ul")
    el_ul.find("li").unbind("click")

    el_ul.find("li").click(function (){
        $(this).siblings().removeClass("active")
        $(this).addClass("active")
        if ($(this).attr("data-action") == "JMS_info") {
            $("#JMS_info_div").find("#JMS_info").show()
            $("#JMS_info_div").find("#server_info_table").hide()
            weblogic.jms_info_render($("#JMS_info") ,obj)
        }
        else{
            $("#JMS_info_div").find("#JMS_info").hide()
            $("#JMS_info_div").find("#server_info_table").show()
            weblogic.server_info_list($("#server_info_table") ,obj)
        }
    })

    weblogic.jms_info_render($("#JMS_info") ,obj)
}

function jta_info_render(obj) {
    var el_ul = $("#JTA_info_div").find("ul")
    el_ul.find("li").unbind("click")

    el_ul.find("li").click(function (){
        $(this).siblings().removeClass("active")
        $(this).addClass("active")
        if ($(this).attr("data-action") == "jta_base_info") {
            $("#JTA_info_div").find("#jta_base_info").show()
            $("#JTA_info_div").find("#jta_info_table").hide()
            weblogic.jta_base_info_render($("#jta_base_info") ,obj)
        }
        else{
            $("#JTA_info_div").find("#jta_base_info").hide()
            $("#JTA_info_div").find("#jta_info_table").show()
            weblogic[$(this).attr("data-action")]($("#jta_info_table") ,obj)
        }
    })

    weblogic.jta_base_info_render($("#JMS_info") ,obj)
}

function app_info_render(obj) {
    weblogic.app_info_render({
        paramObj:urlParamObj,
        cbf:function(data){
            application_data = data
        }
    })
}

function default_storage_list(obj) {
    var el_ul = $("#default_storage_div").find("ul")
    el_ul.find("li").unbind("click")

    el_ul.find("li").click(function (){
        $(this).siblings().removeClass("active")
        $(this).addClass("active")
        weblogic[$(this).attr("data-action")]($("#default_storage_table") ,obj)
    })

    weblogic.connect_list($("#default_storage_table") ,obj)
}

function connective_work_list(obj) {
    var el_ul = $("#connective_work_div").find("ul")
    el_ul.find("li").unbind("click")

    el_ul.find("li").click(function (){
        $(this).siblings().removeClass("active")
        $(this).addClass("active")
        weblogic[$(this).attr("data-action")]($("#connective_work_table") ,obj)
    })

    weblogic.connective_list($("#connective_work_table") ,obj)
}

function jdbc_pipe_list(obj) {
    var el_ul = $("#jdbc_pipe_div").find("ul")
    el_ul.find("li").unbind("click")

    el_ul.find("li").click(function (){
        $(this).siblings().removeClass("active")
        $(this).addClass("active")
        weblogic[$(this).attr("data-action")]($("#jdbc_pipe_table") ,obj)
    })

    weblogic.jdbc_list($("#jdbc_pipe_table") ,obj)
}

})
})